<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<base href="<%=basePath%>">
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>10ACCP2班级论坛 - Powered by 19#417</title>
		<link rel="stylesheet" type="text/css" href="css/style_1_common.css">
		<link rel="stylesheet" type="text/css"
			href="css/style_1_forum_index.css">
		<link rel="stylesheet" id="css_extstyle" type="text/css"
			href="css/style.css">
		<script src="js/common.js" type="text/javascript">
</script>
		<script src="js/forum.js" type="text/javascript">
</script>
		<script src="js/register.js" type="text/javascript">
</script>
		<script type="text/javascript">
function setHomePages() {
	document.documentElement.style.behavior = "url(#default#homepage)";
	document.documentElement.setHomePage('http://localhost:8080/Accp_BBS');

}
function addCookie() {
	if (document.all) {
		window.external.addFavorite('http://localhost:8080/Accp_BBS',
				'10ACCP2班级论坛');
	} else if (window.sidebar) {
		window.sidebar.addPanel('10ACCP2班级论坛',
				'http://localhost:8080/Accp_BBS', '');
	}
}
</script>
	</head>

	<body id="nv_forum" class="pg_index"
		onkeydown="if(event.keyCode==27) return false;">
		<div id="append_parent"></div>
		<div id="ajaxwaitid"></div>
		<div id="toptb" class="cl">
			<div class="wp">
				<div class="z">
					<a href="javascript:setHomePages()">设为首页</a><a
						href="javascript:addCookie()">收藏本站</a>
					<script type="text/javascript">
var _speedMark = new Date();</script>
				</div>
			</div>
		</div>
		<div id="hd">
			<div class="wp">
				<div class="hdc cl">
					<h2>
						<a href="index" title="10ACCP2论坛"><img src="images/ACCP2.png"
								alt="10ACCP2论坛" border="0">
						</a>
					</h2>
					<%@ include file="user.jsp"%>
				</div>
				<div id="nv">
					<ul>
						<li class="a" id="mn_forum">
							<a href="index" hidefocus="true" title="BBS">论坛<span>BBS</span>
							</a>
						</li>
						<li id="mn_N12a7">
							<a href="index" hidefocus="true" title="Ranklist">班级<span>Class</span>
							</a>
						</li>
					</ul>
				</div>
			</div>
		</div>
		</div>
		</div>
		<div id="wp" class="wp">
			<div id="pt" class="bm cl">
				<div class="y">
					<div id="an">
						<dl class="cl">
					</div>
					</dd>
					</dl>
				</div>
			</div>
			<div class="z"></div>
		</div>
		<style id="diy_style" type="text/css">
</style>
		<div class="wp">
			<!--[diy=diy1]-->
			<div id="diy1" class="area"></div>
			<!--[/diy]-->
		</div>
		<div id="ct" class="wp cl">
			<div class="mn">
				<div class="fl bm">
					<div class="bm bmw  cl">
						<div class="bm_h cl">
							<h2>
								<a href="register.jsp" style="">注册</a>
							</h2>
						</div>
						<div id="category_3" class="bm_c" style="">
							<s:form action="register" method="post"
								onsubmit="return checkForm()" enctype="multipart/form-data">
								<table class="fl_tb" cellpadding="0" cellspacing="0">
									<tbody>
										<tr>
											<td>
												<div style="float: left; width: 200px;">
													用户名：
												</div>
												<div style="float: left; width: 300px;">
													<input type="text" id="username" name="user.uname"
														style="width: 200px;" onblur="checkUserName()" />
												</div>
												<div id="usernameMessage" style="float: left; width: 200px;"></div>
											</td>
										</tr>
										<tr class="fl_row">
											<td>
												<div style="float: left; width: 200px;">
													密码：
												</div>
												<div style="float: left; width: 300px;">
													<input type="password" id="password" name="user.upassword"
														style="width: 200px;" onblur="checkPass()" />
												</div>
												<div id="passwordMessage" style="float: left; width: 200px;"></div>
											</td>
										</tr>
										<tr class="fl_row">
											<td>
												<div style="float: left; width: 200px;">
													确认密码：
												</div>
												<div style="float: left; width: 300px;">
													<input type="password" id="repassword" name="repassword"
														style="width: 200px;" onblur="checkPass()" />
												</div>
												<div id="repasswordMessage"
													style="float: left; width: 200px;"></div>
											</td>
										</tr>
										<tr class="fl_row">
											<td>
												<div style="float: left; width: 200px;">
													Email：
												</div>
												<div style="float: left; width: 300px;">
													<input type="text" id="email" name="user.uemail"
														style="width: 200px;" onblur="checkEmail()" />
												</div>
												<div id="emailMessage" style="float: left; width: 200px;"></div>
											</td>
										</tr>
										<tr class="fl_row">
											<td>
												<div style="float: left; width: 200px;">
													生日：
												</div>
												<div style="float: left; width: 300px;">
													<input name="year" id="year" size=4 maxlength=4
														onblur="checkYear()" />
													&nbsp;年&nbsp;&nbsp;
													<select name="month" id="month" onchange="changeMonth()">
													</select>
													&nbsp;月&nbsp;&nbsp;
													<select name="day" id="day">
													</select>
												</div>
												<div id="birthdayMessage" style="float: left; width: 200px;"></div>
											</td>
										</tr>
										<tr class="fl_row">
											<td>
												<div style="float: left; width: 200px;">
													性别：
												</div>
												<div style="float: left; width: 300px;">
													<input name="sex" type="radio" value="1" checked=checked />
													男&nbsp;
													<input name="sex" type="radio" value="2" class="input" />
													女
												</div>
												<div id="sexMessage" style="float: left; width: 200px;"></div>
											</td>
										</tr>
										<tr class="fl_row">
											<td>
												<div style="float: left; width: 200px;">
													个性签名：
												</div>
												<div style="float: left; width: 300px;">
													<input type="text" id="statement" name="user.ustatement"
														style="width: 200px;" />
												</div>
												<div id="statementMessage"
													style="float: left; width: 200px;"></div>
											</td>
										</tr>
										<tr class="fl_row">
											<td>
												<div style="float: left; width: 200px; margin-top: 95px;">
													上传头像：
												</div>
												<div style="float: left; width: 300px; margin-top: 95px;">
													<input type="file" id="pic" name="pic" onchange="picText()" />
												</div>
												<div style="float: left; width: 350px; height: 130px;">
													<img src="images/avatar.gif" width="120" height="120"
														alt="头像" title="头像" align="middle" id="image" />
												</div>
											</td>
										</tr>
										<tr class="fl_row">
											<td>
												<div style="float: left; width: 400px; padding-left: 200px;">
													<button class="pn pnc" id="registerformsubmit"
														type="submit" name="regsubmit" value="true" tabindex="1">
														<strong>提交</strong>
													</button>
												</div>
											</td>
										</tr>
									</tbody>
								</table>
							</s:form>
						</div>
					</div>
				</div>
				<div class="wp mtn">
					<!--[diy=diy3]-->
					<div id="diy3" class="area"></div>
					<!--[/diy]-->
				</div>
			</div>
		</div>
		</div>
		<div id="ft" class="wp cl">
			<div id="flk" class="y">
				<p>
					<strong><a href="#" target="_blank">10ACCP2论坛</a> </strong>
					&nbsp;&nbsp;
					<span id="tcss"></span>
				</p>
				<p class="xs0">
					19#417 &nbsp;&nbsp;版权所有 &nbsp;&nbsp;
					<span id="tcss"></span>
					</span>
				</p>
			</div>
			<div id="frt">
				<p>
					Powered by
					<strong><a href="#" target="_blank">19#417</a> </strong>
				</p>
				<p class="xs0">
					&#169; 2011-2012
					<a href="#" target="_blank">10ACCP2</a>
				</p>
			</div>
		</div>
		<div style="position: absolute; display: none; z-index: 9999;"
			id="livemargins_control">
			<img src="images/monitor-background-horizontal.png"
				style="position: absolute; left: -77px; top: -5px;" height="5"
				width="77">
			<img src="images/monitor-background-vertical.png"
				style="position: absolute; left: 0pt; top: -5px;">
			<img id="monitor-play-button" src="images/monitor-play-button.png"
				onmouseover="this.style.opacity=1"
				onmouseout="this.style.opacity=0.5"
				style="position: absolute; left: 1px; top: 0pt; opacity: 0.5; cursor: pointer;">
		</div>
	</body>
</html>